package com.sdu;

import java.util.List;

import com.sdu.model.Order;
import com.sdu.rpc.client.RpcProxy;
import com.sdu.service.OrderService;

public class ConsumerDemo {

	public static void main(String args[]) {

		OrderService orderService = RpcProxy.newInstance(OrderService.class);

		List<Order> order = orderService.getOrder();
		System.out.println(order);

	}

}
